<template>
	<!-- 发布  第二版样式   选择品牌2-->
	<view class="content">
		<view class="headtext">
			最近使用
		</view>
		<view class="history">
			<view class="weiyouchey" v-show="!historylistpp">
				未有浏览任何车源，快去看看吧...
			</view>
			<view class="hisxbox" v-for="(item, index) in historylistpp" :key="index" @tap="searchBrand(item)">
				<view class="iconimg">
					<image :src="'https://files.yzsheng.com/goodimg/brandimg/'+item.bid+'.png'" mode="aspectFit"></image>
				</view>
				<view class="histext">{{item.brand}}</view>
			</view>
		</view>
		<u-index-list :scrollTop="scrollTop" :index-list='indexlist'>
			<view v-for="(item, index) in Brandlist" :key="item.initial">
				<u-index-anchor :index="item.initial" />
				<view class="Brandcss">
					<view class="list-cell" v-for="(item1, index1) in item.list" :key="index1" @tap="searchBrand(item1)">
						<view class="iconimg">
							<image :src="'https://files.yzsheng.com/goodimg/brandimg/'+item1.bid+'.png'" mode="aspectFit"></image>
						</view>
						<text class="branname">{{item1.brand}}</text>
					</view>
				</view>
			</view>
		</u-index-list>
	</view>
</template>


<script src="./chooseBrand.js"></script>
<style lang="scss" scoped>
	@import './chooseBrand.scss';
</style>

